﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SX.BaseService.Service
{
    /// <summary>
    /// 发送邮件设置
    /// </summary>
    public class MailSetting
    {
        /// <summary>
        /// SMTP服务器
        /// </summary>
        public string SMTPIP { get; set; }
        /// <summary>
        /// SSl加密连接
        /// </summary>
        public bool ISSSLEncrypt { get; set; } = true;

        /// <summary>
        /// SMTP端口
        /// </summary>
        public string SMTPPort { get; set; }
        /// <summary>
        /// 发送人邮箱ip地址
        /// </summary>
        public string SendMailAdress { get; set; }
        /// <summary>
        /// 邮箱密码
        /// </summary>
        public string MailPwd { get; set; }
        /// <summary>
        /// 邮箱账号
        /// </summary>
        public string MailUserName { get; set; }
        /// <summary>
        /// 发件人昵称
        /// </summary>
        public string NickName { get; set; }
    }
}
